home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 1_0-2 / D2R_FOLD / D2R_DEFI.H < prev    next >
C/C++ Source or Header  |  1986-10-31  |  1KB  |  49 lines

  1. #include "::MacIncludes:MacTypes.h"
  2. #include "::MacIncludes:QuickDraw.h"
  3. #include "::MacIncludes:WindowMgr.h"        
  4. #include "::MacIncludes:DialogMgr.h"
  5. #include "::MacIncludes:MenuMgr.h"
  6. #include "::MacIncludes:MemoryMgr.h"
  7. #include "::MacIncludes:EventMgr.h"
  8. #include "::MacIncludes:FontMgr.h"
  9. #include "::MacIncludes:FileMgr.h"
  10. #include "::MacIncludes:ResourceMgr.h"
  11. #include "::MacIncludes:SegmentLdr.h"
  12. #include "::MacIncludes:ToolboxUtil.h"
  13. #include "::MacIncludes:pascal.h"
  14. #include "::UnixIncludes:stdio.h"
  15.  
  16.  
  17. /* Dialog Defs */
  18. #define ALERT_ID        258
  19. #define ALERT_ID2        ALERT_ID+1
  20. #define AboutDLOG_ID    256
  21. #define GetInfoDLOG_ID    257
  22. #define    TEXTID            256
  23. /* End of Dialog Defs */
  24.  
  25. #define EQ(x, y) (strcmp(x, y) == 0)
  26.  
  27. /* MENU defines */
  28. #define apple_menu        1
  29. #define file_menu        2
  30. #define        iopen        1
  31. #define        igetinfo    2
  32. #define        iwrite        3
  33. #define        idelete        5
  34. #define        itransfer    7
  35. #define        iquit        8
  36. #define edit_menu        3
  37. #define        iundo        1
  38. #define        icut        3
  39. #define        icopy        4
  40. #define        ipaste        5
  41. #define        iclear        6
  42.  
  43. #define NUM_MENUS        3
  44.  
  45. enum {
  46.     BadFileErr,
  47.     OutOfMemErr
  48. };
  49.